#ifndef WORLDMAP_H
#define WORLDMAP_H

#include "LibraryInterface.h"
#include "Entity.h"

#define WORLD_WIDTH  16
#define WORLD_HEIGHT 16

#define TILE_SIZE 16

#define MAP_WIDTH 15
#define MAP_HEIGHT 15



class WorldMap{
public:
	WorldMap();
	~WorldMap();

	void Blit();

	static bool LoadWorld();
	static bool LoadMap(unsigned int i);

	static WorldMap world[WORLD_WIDTH][WORLD_HEIGHT];
	static Entity* tileMap[WORLD_WIDTH * TILE_SIZE * MAP_WIDTH][WORLD_HEIGHT * TILE_SIZE * MAP_HEIGHT];	//all the entities in the world (including tiles)

	int halfOfWidth;
	int halfOfHeight;

protected:


};

#endif